package com.cms.admin.service.privilege.impl;

import com.cms.admin.mapper.MedicalTreatRecordMapper;
import com.cms.admin.model.MedicalTreatRecord;
import com.cms.admin.service.privilege.MedicalTreatRecordService;

import java.util.List;

/**
 * Created by YYY-Work on 2017/5/17.
 */
public class MedicalTreatRecordServiceImpl implements MedicalTreatRecordService{

    private MedicalTreatRecordMapper medicalTreatRecordMapper;

    @Override
    public List<MedicalTreatRecord> queryMedicalTreatRecordByRegisterid(Long registerid) {
        return medicalTreatRecordMapper.selectByRegisterid(registerid);
    }

    public MedicalTreatRecordMapper getMedicalTreatRecordMapper() {
        return medicalTreatRecordMapper;
    }

    public void setMedicalTreatRecordMapper(MedicalTreatRecordMapper medicalTreatRecordMapper) {
        this.medicalTreatRecordMapper = medicalTreatRecordMapper;
    }
}
